package com.lch.designpattern.singleton.register;

/**
 * @author: liuchenhui
 * @create: 2019-04-14 23:26
 **/
public enum EnumSingleton {

    INSTANCE;

    private Object data;

    public Object getData() {
        return data;
    }

    public void setData(Object data) {
        this.data = data;
    }


    public static EnumSingleton getInstance() {
        return INSTANCE;
    }
}
